x86emul: support MMX/SSE{,2,3} moves
authorJan Beulich <jbeulich@suse.com>
Tue, 7 Mar 2017 16:03:45 +0000 (17:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Mar 2017 16:03:45 +0000 (17:03 +0100)
commit6ce8724d4da37ad2c6e0cff4ce9edf2568602025
tree40eb222992ee506b46abc193096f29628ee5d906
parent272e928f498705064bd6cf17d12158645ee7819e
x86emul: support MMX/SSE{,2,3} moves

Previously supported insns are being converted to the new model, and
several new ones are being added.

To keep the stub handling reasonably simple, integrate SET_SSE_PREFIX()
into copy_REX_VEX(), at once switching the stubs to use an empty REX
prefix instead of a double DS: one (no byte registers are being
accessed, so an empty REX prefix has no effect), except (of course) for
the 32-bit test harness build.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/test_x86_emulator.c
xen/arch/x86/x86_emulate/x86_emulate.c